<th-canvas (onRender)="this.onBeforeRender()">
  <th-scene>
    <th-ambientLight [intensity]="3" />

    <th-object3D
      loadGLTF
      [url]="this.modelUrl"
      [scale]="this.modelScale"
      [rotation]="this.rotation"
      [position]="[0, 1, 0]"
      (onLoaded)="onLoaded()"
      (objRef$)="onRefChange($event)"
    />

    <th-gridHelper [args]="[10, 10]" />
    <th-pointLight [position]="[10, 10, 10]" [intensity]="3" />

    <th-perspectiveCamera [args]="[45, 2, 0.1, 100]" [position]="[10, 10, 10]" [lookAt]="[0, 0, 0]" />
  </th-scene>
</th-canvas>
